"""
@file: __init__.py.py
@author：wang
@time: 2022/2/23 0023 9:51
"""
from exts import db
from datetime import datetime


class BaseModel(db.Model):
    __abstract__ = True
    id = db.Column(db.Integer, primary_key=True, autoincrement=True)
    data_time = db.Column(db.DateTime, default=datetime.now)
